﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cms.Domain
{
    public class UserGroupField
    {
        private IDictionary<int, UserGroupFieldLabelTranslation> _labelTranslations;

        public virtual int Id { get; set; }

        public virtual UserGroup UserGroup { get; set; }
        
        public virtual string Name { get; set; }
        
        public virtual FieldType FieldType { get; set; }

        public virtual int SortIndex { get; set; }
        
        public virtual IDictionary<int, UserGroupFieldLabelTranslation> LabelTranslations
        {
            get { return _labelTranslations; }
            set { _labelTranslations = value; }
        }

        public UserGroupField()
        {
            _labelTranslations = new Dictionary<int, UserGroupFieldLabelTranslation>();
        }
    }
}
